package cn.xbtop.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.xbtop.bean.TTag;
import cn.xbtop.mapper.TTagMapper;
import cn.xbtop.service.TTagService;
/**
 * @author  Mxb
 * @date  2020/6/6 18:36
 * @version 1.0
 */
@Service
public class TTagServiceImpl implements TTagService{

    @Resource
    private TTagMapper tTagMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tTagMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TTag record) {
        return tTagMapper.insert(record);
    }

    @Override
    public TTag selectByPrimaryKey(Integer id) {
        return tTagMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(TTag record) {
        return tTagMapper.updateByPrimaryKey(record);
    }

}
